package com.yunxi.order.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value="取消订单审批申请主数据查询", description="取消订单审批申请主数据查询响应参数")
public class OrderApproveCancelRespVO implements Serializable{


    @ApiModelProperty(value = "审核人")
    private String userName;

    @ApiModelProperty(value = "订货单号")
    private String orderCarId;
    @ApiModelProperty(value = "审核状态")
    private String checkStatus;
    @ApiModelProperty(value = "渠道名称")
    private String partnerName;
    @ApiModelProperty(value = "车型")
    private String modelName;
    @ApiModelProperty(value = "车系")
    private String seriesName;
    @ApiModelProperty(value = "内饰颜色")
    private String colorNameIn;
    @ApiModelProperty(value = "外饰颜色")
    private String colorNameOut;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty("订单创建日期")
    private Date createDate;
    @ApiModelProperty(value = "订单取消原因")
    private String info;
    @ApiModelProperty(value = "付款方式")
    private String payway;
    @ApiModelProperty(value = "配置")
    private String catalogName;
    @ApiModelProperty(value = "文件名")
    private String fileName;
    @ApiModelProperty(value = "文件路径")
    private String url;
    @ApiModelProperty(value = "审核人")
    private String auditBy;
    @ApiModelProperty(value = "驳回原因")
    private String rejectInfo;
    @ApiModelProperty(value = "订单状态")
    private String orderStatus;
    @ApiModelProperty(value = "取消单号")
    private String cancelId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty("取消申请日期")
    private Date applyDate;


    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty("审核日期")
    private Date auditDate;

    @ApiModelProperty(value = "审核人")
    private String applyBy;

    @ApiModelProperty(value = "选装包")
    private String packName;




}
